/*
 * 
 * 
 *    마이 페이지 건강치 메뉴창  
 * 
 * 
 */

$(document).ready(function() {
	/* 留덉씠 �섏씠吏�*/
	  $("table td").hover(function() {
	       $(this).addClass('odd');
	  }, function() {
		   $(this).removeClass('odd');  
	  });

});

/* 留덉씠�섏씠吏�嫄닿컯移��덈룄��李�*/
/*function healthCheckUp() {
	   window.open("/member/healthCheckUp.jsp",
           "_blank",
           "width=420," +
           " height=500," +
           " toolbar=no, " +
           "menubar=no, " +
           "scrollbars=no," +
           "resizable=no, " +
           "copyhistory=no"+
           "location=no");
}*/


/*
*
*
*  멤버  공통
*
*
* */
var member = {
    memberWeight: '',
    memberHeight: '',
    memberWaisSize: '',
    memberHipCircumFerence: '',
    memberActivityDergee: '',
    regExp : function() {

    }
}
function memberCheckFunction () {
    member.memberWeight = $('#memberWeight').val();
    member.memberHeight = $('#memberWeight').val();
    member.memberWaisSize = $('#memberWeight').val();
    member.memberHipCircumFerence = $('#memberWeight').val();
    member.memberActivityDergee = $('#memberWeight').val();

    lengthCheck(member.memberWeight, 0, 12, member.regExp());

}

function lengthCheck(value, min, max, reg){
    if(value < min && value > max) {
        alert('길이를 확인해주세요');
        document.getElementById('memberWeight').focus();
        return false;
    }
    else {
    	
    	$('#privateInformation-form').submit();
    }
}


















